//
//  TokenInfo.m
//  pocketEOS
//
//  Created by oraclechain on 2018/7/19.
//  Copyright © 2018 oraclechain. All rights reserved.
//

#import "TokenInfo.h"

@implementation TokenInfo
- (NSString *)logo{
    if ([_logo hasPrefix:URL_ImageData]) {
        return _logo;
    }
    return NSStringFormat(@"%@%@",URL_ImageData,_logo);
}
+ (NSDictionary*)modelCustomPropertyMapper{
    return @{@"modelId":@"id"};
}
- (void)setCode:(NSString *)code{
    _code = code;
    _contract = code;
}
- (void)setContract:(NSString *)contract{
    _contract = contract;
    _code = contract;
}
@end
